package com.vcc.service.client.dto.rechargeLog;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@Setter
@Getter
public class CreateOrderDto implements Serializable {

    @NotNull(message = "请选择钱包")
    private String walletId;

    private String remark;

    @NotNull(message = "请选择汇款类型")
    private Integer type;

    @NotBlank(message = "请选择汇款货币")
    private String remittanceCurrency;

    @NotNull(message = "请输入汇款金额")
    @Min(value = 0, message = "汇款金额不能小于0")
    private BigDecimal remittanceAmount;

    private String voucher;
}
